package com.examinantsdk.base.http.converter;

/**
 * Create by Carson on 2021/3/16.
 */
public class BaseResponse<T> {

    private int status;   //status为0正常
    private int code;
    private T data; // 返回数据，不同接口数据格式不同。
    private String msg;//status不为0时

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
